package com.banciyuan.bcywebview.base.helper.push.Item;


import android.content.Context;
import android.content.Intent;

import com.banciyuan.bcywebview.biz.event.EventDetailActivity;
import com.banciyuan.bcywebview.utils.intent.gotoUtil;

/**
 * Created by hy on 2015/11/20.
 */
public class PushItemSixth extends BasePush {

    @Override
    public void goPushActivity(Context mContext) {
        super.goPushActivity(mContext);
        if (msgs.length == 3) {
            goEventActivity();
        } else {
            goMain();
        }
    }

    private void goEventActivity() {
        Intent intent = new Intent(mContext, EventDetailActivity.class);
        intent.putExtra(gotoUtil.INTENT_VALUE_ONE, msgs[2]);
        goActivities(intent);

    }
}
